package com.jindy.module.clearingMarginDetailView.service;

import java.util.List;
import com.jindy.module.clearingMarginDetailView.domain.ClearingMarginDetailView;

/**
 * VIEWService接口
 * 
 * @author jindy
 * @date 2023-06-06
 */
public interface IClearingMarginDetailViewService 
{
    /**
     * 查询VIEW
     * 
     * @param salesmanName VIEW主键
     * @return VIEW
     */
    public ClearingMarginDetailView selectClearingMarginDetailViewBySalesmanName(String salesmanName);

    /**
     * 查询VIEW列表
     * 
     * @param clearingMarginDetailView VIEW
     * @return VIEW集合
     */
    public List<ClearingMarginDetailView> selectClearingMarginDetailViewList(ClearingMarginDetailView clearingMarginDetailView);

    /**
     * 新增VIEW
     * 
     * @param clearingMarginDetailView VIEW
     * @return 结果
     */
    public int insertClearingMarginDetailView(ClearingMarginDetailView clearingMarginDetailView);

    /**
     * 修改VIEW
     * 
     * @param clearingMarginDetailView VIEW
     * @return 结果
     */
    public int updateClearingMarginDetailView(ClearingMarginDetailView clearingMarginDetailView);

    /**
     * 批量删除VIEW
     * 
     * @param salesmanNames 需要删除的VIEW主键集合
     * @return 结果
     */
    public int deleteClearingMarginDetailViewBySalesmanNames(String[] salesmanNames);

    /**
     * 删除VIEW信息
     * 
     * @param salesmanName VIEW主键
     * @return 结果
     */
    public int deleteClearingMarginDetailViewBySalesmanName(String salesmanName);
}
